[SqlServer] CSV資料轉置(不失敗方式)


Posted by mike-hsieh on 2023-12-11

原文網址: https://mike.coderbridge.io/2023/12/11/how-to-data-migration-csv-without-error/

每次遇到資料轉置時,總會遇到報錯,不是哪個欄位不能NULL,或是欄位格式錯誤...,今天剛好用一個暴力方式轉入,紀錄一下。

  1. 先把來源資料轉為CSV檔
  2. 對目標資料庫右鍵 > 匯入一般檔案 > ...參考圖片






  3. 最後就是調整欄位了,比起轉不進來,現在資料都有了,再慢慢調整欄位就好。

#data migration #sql server #CSV #success #fail #error







Related Posts

Gaussian Mixture Model - 詳細推導

Gaussian Mixture Model - 詳細推導

Node.js Advanced Interview Questions for Experienced Professionals

Node.js Advanced Interview Questions for Experienced Professionals

Secure Apache Using Certbot with Let's Encrypt on Ubuntu 20.04

Secure Apache Using Certbot with Let's Encrypt on Ubuntu 20.04


Comments